<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" th:href="@{/js/zTree_v3-3.5.32/css/zTreeStyle/zTreeStyle.css}" type="text/css">
    <script type="text/javascript" th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/zTree_v3-3.5.32/js/jquery.ztree.core.js}"></script>
    <script type="text/javascript" th:src="@{/js/zTree_v3-3.5.32/js/jquery.ztree.excheck.js}"></script>
</head>
<body>
<div id="test1" class="ztree"></div>
<input id="roleId" th:value="${roleId}" type="hidden">
<script type="text/javascript" th:inline="javascript">
    var ctx=[[${ctx}]];
</script>
<script type="text/javascript" th:src="@{/js/role/grant.js}"></script>
</body>
</html>